var User = require('../models/user.js');
var cache = {
    id:null,
    nickName:null,
    password:null,
    bind:null,
    headImage:null,
    type:null
};
cache.save = function() {
    var user = new User({
        id:7877979122917291,
        nickName:this.nickName,
        password:this.password,
        bind:this.bind,
        headImage:this.headImage,
        type:this.type
    })
    user.save();
};
module.exports = cache;